// 卡片头部搜索
.search-main {
  display: flex;
  font-size: 14px;
  color: #606266;
  font-weight: 700;
}
.flex-align-center {
  align-items: center;
}

// 卡片表格
.btn-collapse {
  background-color: #23c6c8;
  border-color: #23c6c8;
  color: #fff;
}
.el-button.btn-collapse:hover,
.el-button.btn-collapse:focus {
  background-color: #21b9bb;
  border-color: #21b9bb;
  color: #fff;
}

.btn-search {
  background: #165eff;
  border-color: none;
  color: #fff;
}
.btn-search.is-disabled,
.el-button.btn-search.is-disabled:hover,
.el-button.btn-search.is-disabled:focus {
  background: #dfe6ec;
  border-color: none;
  color: #909195;
}
.el-button.btn-search:hover,
.el-button.btn-search:focus {
  border-color: none;
  color: #fff;
  background: #165eff;
}
.el-button--mini {
  padding: 5px 7px;
}
.card-table-header {
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
}

.el-form-item {
  margin: 15px 0;
}
.el-card .el-form-item {
  margin: 5px;
}
.el-dialog {
  background-color: transparent;
  margin-top: 10vh !important;
}
.el-dialog__header {
  background-color: #063678;
  text-align: left;
  padding: 20px;
  padding-bottom: 40px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}
.el-dialog__footer {
  margin-top: -15px;
  background-color: #fff;
  border: 1px solid #dcdfe6;
  padding: 10px 20px;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;

  .el-button--primary {
    background-color: #063678;
    border-color: #dcdfe6;
  }
  .el-button--default {
    color: #063678;
  }
}

// 弹窗
.el-dialog__body {
  padding: 20px;
  border-radius: 15px;
  background-color: #e1e5e8;
  margin-top: -20px;
  padding-bottom: 40px;
  .el-form-item {
    border: 1px solid #dcdfe6;
    background: #fff;
    border-radius: 4px;
    padding: 5px 0;
    .el-form-item__label {
      border-right: 1px solid #dcdfe6;
    }
    .el-form-item__content {
      margin-left: 110px!important;
    }
    .el-form-item__error{
      top: 111%;
    }
    .el-input__inner,
    .el-textarea__inner,
    .el-select,
    .el-date-editor.el-input{
      border: none;
      width: 95%;
    }
    .el-date-editor.el-input {
      border: none;
      width: 100%;
    }
    .pre-contain {
      border: 0;
      background-color: #fff;
    }
  }
}
.el-dialog__title {
  font-size: 18px;
  color: #fff;
}
.el-dialog__headerbtn {
  top: 15px;
}

.dialog-search-form {
  .el-form-item {
    border: 0;
    .el-input {
      width: 95%;
    }
  }
  .el-form-item {
    border: 0;
    .el-form-item__label {
      border-right: 0!important;
    }
    .el-form-item__content {
      margin-left: 0;
    }
    .el-input__inner,
    .el-textarea__inner,
    .el-select,
    .el-date-editor.el-input {
      border: none;
      width: 95%;
    }
  }
}

// modalBox提示框
.el-message-box {
  border: none;
  border-radius: 10px;

  .el-message-box__header {
    background-color: #063678;
    .el-message-box__title {
      color: #fff;
      font-size: 14px;
    }
  }
  .el-message-box__container {
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 16px;
    background-color: #fff;
    border-radius: 5px;
  }
  .el-message-box__btns {
    .el-button--primary {
      background-color: #063678;
      border-color: #dcdfe6;
      color: #fff !important;
    }
    .el-button--default {
      color: #063678;
      border-color: #063678;
    }
  }
}
// table表格
// table表格自定义鼠标滑过背景色
.el-table__body tr.current-row > td.el-table__cell,
.el-table__body tr.selection-row > td.el-table__cell,
tr.hover-row > td.el-table__cell,
.el-table__row:hover > td.el-table__cell {
  background-color: #e8f4ff !important;
  transition: background-color 0.3s ease;
}
// table表格选中状态背景色
// .el-table--striped .el-table__body tr.el-table__row--striped.current-row td.el-table__cell, .el-table--striped .el-table__body tr.el-table__row--striped.selection-row td.el-table__cell{
//   background-color: red;
// }
// .el-table__body tr.current-row > td.el-table__cell, .el-table__body tr.selection-row > td.el-table__cell{
//   background-color: red;
// }

//  表格内在线开机状态样式
.table-online {
  color: rgba(26, 179, 148, 1);
}
//  表格内离线状态样式
.table-offline {
  color: rgba(245, 63, 63, 1);
}
